package com.downbox.repository;

import com.downbox.domain.MoodOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 情绪选项仓库接口
 */
@Repository
public interface MoodOptionRepository extends JpaRepository<MoodOption, String> {
    /**
     * 按排序号升序查询所有情绪选项
     */
    List<MoodOption> findAllByOrderBySortNoAsc();
}